package com.hutao.manage.pojo;

import java.util.ArrayList;
import java.util.List;

public class StdopsoperationClinicExample {
    /**
     * STDOPSOPERATION_CLINIC
     */
    protected String orderByClause;

    /**
     * STDOPSOPERATION_CLINIC
     */
    protected boolean distinct;

    /**
     * STDOPSOPERATION_CLINIC
     */
    protected List<Criteria> oredCriteria;

    /**
     *
     * @代码生成于 2020-06-10
     */
    public StdopsoperationClinicExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    /**
     *
     * @代码生成于 2020-06-10
     */
    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    /**
     *
     * @代码生成于 2020-06-10
     */
    public String getOrderByClause() {
        return orderByClause;
    }

    /**
     *
     * @代码生成于 2020-06-10
     */
    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    /**
     *
     * @代码生成于 2020-06-10
     */
    public boolean isDistinct() {
        return distinct;
    }

    /**
     *
     * @代码生成于 2020-06-10
     */
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    /**
     *
     * @代码生成于 2020-06-10
     */
    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    /**
     *
     * @代码生成于 2020-06-10
     */
    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    /**
     *
     * @代码生成于 2020-06-10
     */
    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    /**
     *
     * @代码生成于 2020-06-10
     */
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    /**
     *
     * @代码生成于 2020-06-10
     */
    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * STDOPSOPERATION_CLINIC 2020-06-10
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("ID is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("ID is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("ID =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("ID <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("ID >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("ID >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("ID <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("ID <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("ID in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("ID not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("ID between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("ID not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andParentIdIsNull() {
            addCriterion("PARENT_ID is null");
            return (Criteria) this;
        }

        public Criteria andParentIdIsNotNull() {
            addCriterion("PARENT_ID is not null");
            return (Criteria) this;
        }

        public Criteria andParentIdEqualTo(Long value) {
            addCriterion("PARENT_ID =", value, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdNotEqualTo(Long value) {
            addCriterion("PARENT_ID <>", value, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdGreaterThan(Long value) {
            addCriterion("PARENT_ID >", value, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdGreaterThanOrEqualTo(Long value) {
            addCriterion("PARENT_ID >=", value, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdLessThan(Long value) {
            addCriterion("PARENT_ID <", value, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdLessThanOrEqualTo(Long value) {
            addCriterion("PARENT_ID <=", value, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdIn(List<Long> values) {
            addCriterion("PARENT_ID in", values, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdNotIn(List<Long> values) {
            addCriterion("PARENT_ID not in", values, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdBetween(Long value1, Long value2) {
            addCriterion("PARENT_ID between", value1, value2, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdNotBetween(Long value1, Long value2) {
            addCriterion("PARENT_ID not between", value1, value2, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentCodeIsNull() {
            addCriterion("PARENT_CODE is null");
            return (Criteria) this;
        }

        public Criteria andParentCodeIsNotNull() {
            addCriterion("PARENT_CODE is not null");
            return (Criteria) this;
        }

        public Criteria andParentCodeEqualTo(String value) {
            addCriterion("PARENT_CODE =", value, "parentCode");
            return (Criteria) this;
        }

        public Criteria andParentCodeNotEqualTo(String value) {
            addCriterion("PARENT_CODE <>", value, "parentCode");
            return (Criteria) this;
        }

        public Criteria andParentCodeGreaterThan(String value) {
            addCriterion("PARENT_CODE >", value, "parentCode");
            return (Criteria) this;
        }

        public Criteria andParentCodeGreaterThanOrEqualTo(String value) {
            addCriterion("PARENT_CODE >=", value, "parentCode");
            return (Criteria) this;
        }

        public Criteria andParentCodeLessThan(String value) {
            addCriterion("PARENT_CODE <", value, "parentCode");
            return (Criteria) this;
        }

        public Criteria andParentCodeLessThanOrEqualTo(String value) {
            addCriterion("PARENT_CODE <=", value, "parentCode");
            return (Criteria) this;
        }

        public Criteria andParentCodeLike(String value) {
            addCriterion("PARENT_CODE like", value, "parentCode");
            return (Criteria) this;
        }

        public Criteria andParentCodeNotLike(String value) {
            addCriterion("PARENT_CODE not like", value, "parentCode");
            return (Criteria) this;
        }

        public Criteria andParentCodeIn(List<String> values) {
            addCriterion("PARENT_CODE in", values, "parentCode");
            return (Criteria) this;
        }

        public Criteria andParentCodeNotIn(List<String> values) {
            addCriterion("PARENT_CODE not in", values, "parentCode");
            return (Criteria) this;
        }

        public Criteria andParentCodeBetween(String value1, String value2) {
            addCriterion("PARENT_CODE between", value1, value2, "parentCode");
            return (Criteria) this;
        }

        public Criteria andParentCodeNotBetween(String value1, String value2) {
            addCriterion("PARENT_CODE not between", value1, value2, "parentCode");
            return (Criteria) this;
        }

        public Criteria andIndexcodeIsNull() {
            addCriterion("INDEXCODE_ is null");
            return (Criteria) this;
        }

        public Criteria andIndexcodeIsNotNull() {
            addCriterion("INDEXCODE_ is not null");
            return (Criteria) this;
        }

        public Criteria andIndexcodeEqualTo(String value) {
            addCriterion("INDEXCODE_ =", value, "indexcode");
            return (Criteria) this;
        }

        public Criteria andIndexcodeNotEqualTo(String value) {
            addCriterion("INDEXCODE_ <>", value, "indexcode");
            return (Criteria) this;
        }

        public Criteria andIndexcodeGreaterThan(String value) {
            addCriterion("INDEXCODE_ >", value, "indexcode");
            return (Criteria) this;
        }

        public Criteria andIndexcodeGreaterThanOrEqualTo(String value) {
            addCriterion("INDEXCODE_ >=", value, "indexcode");
            return (Criteria) this;
        }

        public Criteria andIndexcodeLessThan(String value) {
            addCriterion("INDEXCODE_ <", value, "indexcode");
            return (Criteria) this;
        }

        public Criteria andIndexcodeLessThanOrEqualTo(String value) {
            addCriterion("INDEXCODE_ <=", value, "indexcode");
            return (Criteria) this;
        }

        public Criteria andIndexcodeLike(String value) {
            addCriterion("INDEXCODE_ like", value, "indexcode");
            return (Criteria) this;
        }

        public Criteria andIndexcodeNotLike(String value) {
            addCriterion("INDEXCODE_ not like", value, "indexcode");
            return (Criteria) this;
        }

        public Criteria andIndexcodeIn(List<String> values) {
            addCriterion("INDEXCODE_ in", values, "indexcode");
            return (Criteria) this;
        }

        public Criteria andIndexcodeNotIn(List<String> values) {
            addCriterion("INDEXCODE_ not in", values, "indexcode");
            return (Criteria) this;
        }

        public Criteria andIndexcodeBetween(String value1, String value2) {
            addCriterion("INDEXCODE_ between", value1, value2, "indexcode");
            return (Criteria) this;
        }

        public Criteria andIndexcodeNotBetween(String value1, String value2) {
            addCriterion("INDEXCODE_ not between", value1, value2, "indexcode");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("NAME_ is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("NAME_ is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("NAME_ =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("NAME_ <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("NAME_ >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("NAME_ >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("NAME_ <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("NAME_ <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("NAME_ like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("NAME_ not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("NAME_ in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("NAME_ not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("NAME_ between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("NAME_ not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andUserAscriptionIsNull() {
            addCriterion("USER_ASCRIPTION is null");
            return (Criteria) this;
        }

        public Criteria andUserAscriptionIsNotNull() {
            addCriterion("USER_ASCRIPTION is not null");
            return (Criteria) this;
        }

        public Criteria andUserAscriptionEqualTo(String value) {
            addCriterion("USER_ASCRIPTION =", value, "userAscription");
            return (Criteria) this;
        }

        public Criteria andUserAscriptionNotEqualTo(String value) {
            addCriterion("USER_ASCRIPTION <>", value, "userAscription");
            return (Criteria) this;
        }

        public Criteria andUserAscriptionGreaterThan(String value) {
            addCriterion("USER_ASCRIPTION >", value, "userAscription");
            return (Criteria) this;
        }

        public Criteria andUserAscriptionGreaterThanOrEqualTo(String value) {
            addCriterion("USER_ASCRIPTION >=", value, "userAscription");
            return (Criteria) this;
        }

        public Criteria andUserAscriptionLessThan(String value) {
            addCriterion("USER_ASCRIPTION <", value, "userAscription");
            return (Criteria) this;
        }

        public Criteria andUserAscriptionLessThanOrEqualTo(String value) {
            addCriterion("USER_ASCRIPTION <=", value, "userAscription");
            return (Criteria) this;
        }

        public Criteria andUserAscriptionLike(String value) {
            addCriterion("USER_ASCRIPTION like", value, "userAscription");
            return (Criteria) this;
        }

        public Criteria andUserAscriptionNotLike(String value) {
            addCriterion("USER_ASCRIPTION not like", value, "userAscription");
            return (Criteria) this;
        }

        public Criteria andUserAscriptionIn(List<String> values) {
            addCriterion("USER_ASCRIPTION in", values, "userAscription");
            return (Criteria) this;
        }

        public Criteria andUserAscriptionNotIn(List<String> values) {
            addCriterion("USER_ASCRIPTION not in", values, "userAscription");
            return (Criteria) this;
        }

        public Criteria andUserAscriptionBetween(String value1, String value2) {
            addCriterion("USER_ASCRIPTION between", value1, value2, "userAscription");
            return (Criteria) this;
        }

        public Criteria andUserAscriptionNotBetween(String value1, String value2) {
            addCriterion("USER_ASCRIPTION not between", value1, value2, "userAscription");
            return (Criteria) this;
        }

        public Criteria andCommentIsNull() {
            addCriterion("COMMENT_ is null");
            return (Criteria) this;
        }

        public Criteria andCommentIsNotNull() {
            addCriterion("COMMENT_ is not null");
            return (Criteria) this;
        }

        public Criteria andCommentEqualTo(String value) {
            addCriterion("COMMENT_ =", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentNotEqualTo(String value) {
            addCriterion("COMMENT_ <>", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentGreaterThan(String value) {
            addCriterion("COMMENT_ >", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentGreaterThanOrEqualTo(String value) {
            addCriterion("COMMENT_ >=", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentLessThan(String value) {
            addCriterion("COMMENT_ <", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentLessThanOrEqualTo(String value) {
            addCriterion("COMMENT_ <=", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentLike(String value) {
            addCriterion("COMMENT_ like", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentNotLike(String value) {
            addCriterion("COMMENT_ not like", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentIn(List<String> values) {
            addCriterion("COMMENT_ in", values, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentNotIn(List<String> values) {
            addCriterion("COMMENT_ not in", values, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentBetween(String value1, String value2) {
            addCriterion("COMMENT_ between", value1, value2, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentNotBetween(String value1, String value2) {
            addCriterion("COMMENT_ not between", value1, value2, "comment");
            return (Criteria) this;
        }

        public Criteria andStopedflagIsNull() {
            addCriterion("STOPEDFLAG_ is null");
            return (Criteria) this;
        }

        public Criteria andStopedflagIsNotNull() {
            addCriterion("STOPEDFLAG_ is not null");
            return (Criteria) this;
        }

        public Criteria andStopedflagEqualTo(String value) {
            addCriterion("STOPEDFLAG_ =", value, "stopedflag");
            return (Criteria) this;
        }

        public Criteria andStopedflagNotEqualTo(String value) {
            addCriterion("STOPEDFLAG_ <>", value, "stopedflag");
            return (Criteria) this;
        }

        public Criteria andStopedflagGreaterThan(String value) {
            addCriterion("STOPEDFLAG_ >", value, "stopedflag");
            return (Criteria) this;
        }

        public Criteria andStopedflagGreaterThanOrEqualTo(String value) {
            addCriterion("STOPEDFLAG_ >=", value, "stopedflag");
            return (Criteria) this;
        }

        public Criteria andStopedflagLessThan(String value) {
            addCriterion("STOPEDFLAG_ <", value, "stopedflag");
            return (Criteria) this;
        }

        public Criteria andStopedflagLessThanOrEqualTo(String value) {
            addCriterion("STOPEDFLAG_ <=", value, "stopedflag");
            return (Criteria) this;
        }

        public Criteria andStopedflagLike(String value) {
            addCriterion("STOPEDFLAG_ like", value, "stopedflag");
            return (Criteria) this;
        }

        public Criteria andStopedflagNotLike(String value) {
            addCriterion("STOPEDFLAG_ not like", value, "stopedflag");
            return (Criteria) this;
        }

        public Criteria andStopedflagIn(List<String> values) {
            addCriterion("STOPEDFLAG_ in", values, "stopedflag");
            return (Criteria) this;
        }

        public Criteria andStopedflagNotIn(List<String> values) {
            addCriterion("STOPEDFLAG_ not in", values, "stopedflag");
            return (Criteria) this;
        }

        public Criteria andStopedflagBetween(String value1, String value2) {
            addCriterion("STOPEDFLAG_ between", value1, value2, "stopedflag");
            return (Criteria) this;
        }

        public Criteria andStopedflagNotBetween(String value1, String value2) {
            addCriterion("STOPEDFLAG_ not between", value1, value2, "stopedflag");
            return (Criteria) this;
        }

        public Criteria andClinicCodeIsNull() {
            addCriterion("CLINIC_CODE is null");
            return (Criteria) this;
        }

        public Criteria andClinicCodeIsNotNull() {
            addCriterion("CLINIC_CODE is not null");
            return (Criteria) this;
        }

        public Criteria andClinicCodeEqualTo(String value) {
            addCriterion("CLINIC_CODE =", value, "clinicCode");
            return (Criteria) this;
        }

        public Criteria andClinicCodeNotEqualTo(String value) {
            addCriterion("CLINIC_CODE <>", value, "clinicCode");
            return (Criteria) this;
        }

        public Criteria andClinicCodeGreaterThan(String value) {
            addCriterion("CLINIC_CODE >", value, "clinicCode");
            return (Criteria) this;
        }

        public Criteria andClinicCodeGreaterThanOrEqualTo(String value) {
            addCriterion("CLINIC_CODE >=", value, "clinicCode");
            return (Criteria) this;
        }

        public Criteria andClinicCodeLessThan(String value) {
            addCriterion("CLINIC_CODE <", value, "clinicCode");
            return (Criteria) this;
        }

        public Criteria andClinicCodeLessThanOrEqualTo(String value) {
            addCriterion("CLINIC_CODE <=", value, "clinicCode");
            return (Criteria) this;
        }

        public Criteria andClinicCodeLike(String value) {
            addCriterion("CLINIC_CODE like", value, "clinicCode");
            return (Criteria) this;
        }

        public Criteria andClinicCodeNotLike(String value) {
            addCriterion("CLINIC_CODE not like", value, "clinicCode");
            return (Criteria) this;
        }

        public Criteria andClinicCodeIn(List<String> values) {
            addCriterion("CLINIC_CODE in", values, "clinicCode");
            return (Criteria) this;
        }

        public Criteria andClinicCodeNotIn(List<String> values) {
            addCriterion("CLINIC_CODE not in", values, "clinicCode");
            return (Criteria) this;
        }

        public Criteria andClinicCodeBetween(String value1, String value2) {
            addCriterion("CLINIC_CODE between", value1, value2, "clinicCode");
            return (Criteria) this;
        }

        public Criteria andClinicCodeNotBetween(String value1, String value2) {
            addCriterion("CLINIC_CODE not between", value1, value2, "clinicCode");
            return (Criteria) this;
        }

        public Criteria andCode1IsNull() {
            addCriterion("CODE_1 is null");
            return (Criteria) this;
        }

        public Criteria andCode1IsNotNull() {
            addCriterion("CODE_1 is not null");
            return (Criteria) this;
        }

        public Criteria andCode1EqualTo(String value) {
            addCriterion("CODE_1 =", value, "code1");
            return (Criteria) this;
        }

        public Criteria andCode1NotEqualTo(String value) {
            addCriterion("CODE_1 <>", value, "code1");
            return (Criteria) this;
        }

        public Criteria andCode1GreaterThan(String value) {
            addCriterion("CODE_1 >", value, "code1");
            return (Criteria) this;
        }

        public Criteria andCode1GreaterThanOrEqualTo(String value) {
            addCriterion("CODE_1 >=", value, "code1");
            return (Criteria) this;
        }

        public Criteria andCode1LessThan(String value) {
            addCriterion("CODE_1 <", value, "code1");
            return (Criteria) this;
        }

        public Criteria andCode1LessThanOrEqualTo(String value) {
            addCriterion("CODE_1 <=", value, "code1");
            return (Criteria) this;
        }

        public Criteria andCode1Like(String value) {
            addCriterion("CODE_1 like", value, "code1");
            return (Criteria) this;
        }

        public Criteria andCode1NotLike(String value) {
            addCriterion("CODE_1 not like", value, "code1");
            return (Criteria) this;
        }

        public Criteria andCode1In(List<String> values) {
            addCriterion("CODE_1 in", values, "code1");
            return (Criteria) this;
        }

        public Criteria andCode1NotIn(List<String> values) {
            addCriterion("CODE_1 not in", values, "code1");
            return (Criteria) this;
        }

        public Criteria andCode1Between(String value1, String value2) {
            addCriterion("CODE_1 between", value1, value2, "code1");
            return (Criteria) this;
        }

        public Criteria andCode1NotBetween(String value1, String value2) {
            addCriterion("CODE_1 not between", value1, value2, "code1");
            return (Criteria) this;
        }

        public Criteria andCode2IsNull() {
            addCriterion("CODE_2 is null");
            return (Criteria) this;
        }

        public Criteria andCode2IsNotNull() {
            addCriterion("CODE_2 is not null");
            return (Criteria) this;
        }

        public Criteria andCode2EqualTo(String value) {
            addCriterion("CODE_2 =", value, "code2");
            return (Criteria) this;
        }

        public Criteria andCode2NotEqualTo(String value) {
            addCriterion("CODE_2 <>", value, "code2");
            return (Criteria) this;
        }

        public Criteria andCode2GreaterThan(String value) {
            addCriterion("CODE_2 >", value, "code2");
            return (Criteria) this;
        }

        public Criteria andCode2GreaterThanOrEqualTo(String value) {
            addCriterion("CODE_2 >=", value, "code2");
            return (Criteria) this;
        }

        public Criteria andCode2LessThan(String value) {
            addCriterion("CODE_2 <", value, "code2");
            return (Criteria) this;
        }

        public Criteria andCode2LessThanOrEqualTo(String value) {
            addCriterion("CODE_2 <=", value, "code2");
            return (Criteria) this;
        }

        public Criteria andCode2Like(String value) {
            addCriterion("CODE_2 like", value, "code2");
            return (Criteria) this;
        }

        public Criteria andCode2NotLike(String value) {
            addCriterion("CODE_2 not like", value, "code2");
            return (Criteria) this;
        }

        public Criteria andCode2In(List<String> values) {
            addCriterion("CODE_2 in", values, "code2");
            return (Criteria) this;
        }

        public Criteria andCode2NotIn(List<String> values) {
            addCriterion("CODE_2 not in", values, "code2");
            return (Criteria) this;
        }

        public Criteria andCode2Between(String value1, String value2) {
            addCriterion("CODE_2 between", value1, value2, "code2");
            return (Criteria) this;
        }

        public Criteria andCode2NotBetween(String value1, String value2) {
            addCriterion("CODE_2 not between", value1, value2, "code2");
            return (Criteria) this;
        }

        public Criteria andCode3IsNull() {
            addCriterion("CODE_3 is null");
            return (Criteria) this;
        }

        public Criteria andCode3IsNotNull() {
            addCriterion("CODE_3 is not null");
            return (Criteria) this;
        }

        public Criteria andCode3EqualTo(String value) {
            addCriterion("CODE_3 =", value, "code3");
            return (Criteria) this;
        }

        public Criteria andCode3NotEqualTo(String value) {
            addCriterion("CODE_3 <>", value, "code3");
            return (Criteria) this;
        }

        public Criteria andCode3GreaterThan(String value) {
            addCriterion("CODE_3 >", value, "code3");
            return (Criteria) this;
        }

        public Criteria andCode3GreaterThanOrEqualTo(String value) {
            addCriterion("CODE_3 >=", value, "code3");
            return (Criteria) this;
        }

        public Criteria andCode3LessThan(String value) {
            addCriterion("CODE_3 <", value, "code3");
            return (Criteria) this;
        }

        public Criteria andCode3LessThanOrEqualTo(String value) {
            addCriterion("CODE_3 <=", value, "code3");
            return (Criteria) this;
        }

        public Criteria andCode3Like(String value) {
            addCriterion("CODE_3 like", value, "code3");
            return (Criteria) this;
        }

        public Criteria andCode3NotLike(String value) {
            addCriterion("CODE_3 not like", value, "code3");
            return (Criteria) this;
        }

        public Criteria andCode3In(List<String> values) {
            addCriterion("CODE_3 in", values, "code3");
            return (Criteria) this;
        }

        public Criteria andCode3NotIn(List<String> values) {
            addCriterion("CODE_3 not in", values, "code3");
            return (Criteria) this;
        }

        public Criteria andCode3Between(String value1, String value2) {
            addCriterion("CODE_3 between", value1, value2, "code3");
            return (Criteria) this;
        }

        public Criteria andCode3NotBetween(String value1, String value2) {
            addCriterion("CODE_3 not between", value1, value2, "code3");
            return (Criteria) this;
        }

        public Criteria andCode4IsNull() {
            addCriterion("CODE_4 is null");
            return (Criteria) this;
        }

        public Criteria andCode4IsNotNull() {
            addCriterion("CODE_4 is not null");
            return (Criteria) this;
        }

        public Criteria andCode4EqualTo(String value) {
            addCriterion("CODE_4 =", value, "code4");
            return (Criteria) this;
        }

        public Criteria andCode4NotEqualTo(String value) {
            addCriterion("CODE_4 <>", value, "code4");
            return (Criteria) this;
        }

        public Criteria andCode4GreaterThan(String value) {
            addCriterion("CODE_4 >", value, "code4");
            return (Criteria) this;
        }

        public Criteria andCode4GreaterThanOrEqualTo(String value) {
            addCriterion("CODE_4 >=", value, "code4");
            return (Criteria) this;
        }

        public Criteria andCode4LessThan(String value) {
            addCriterion("CODE_4 <", value, "code4");
            return (Criteria) this;
        }

        public Criteria andCode4LessThanOrEqualTo(String value) {
            addCriterion("CODE_4 <=", value, "code4");
            return (Criteria) this;
        }

        public Criteria andCode4Like(String value) {
            addCriterion("CODE_4 like", value, "code4");
            return (Criteria) this;
        }

        public Criteria andCode4NotLike(String value) {
            addCriterion("CODE_4 not like", value, "code4");
            return (Criteria) this;
        }

        public Criteria andCode4In(List<String> values) {
            addCriterion("CODE_4 in", values, "code4");
            return (Criteria) this;
        }

        public Criteria andCode4NotIn(List<String> values) {
            addCriterion("CODE_4 not in", values, "code4");
            return (Criteria) this;
        }

        public Criteria andCode4Between(String value1, String value2) {
            addCriterion("CODE_4 between", value1, value2, "code4");
            return (Criteria) this;
        }

        public Criteria andCode4NotBetween(String value1, String value2) {
            addCriterion("CODE_4 not between", value1, value2, "code4");
            return (Criteria) this;
        }

        public Criteria andCode5IsNull() {
            addCriterion("CODE_5 is null");
            return (Criteria) this;
        }

        public Criteria andCode5IsNotNull() {
            addCriterion("CODE_5 is not null");
            return (Criteria) this;
        }

        public Criteria andCode5EqualTo(String value) {
            addCriterion("CODE_5 =", value, "code5");
            return (Criteria) this;
        }

        public Criteria andCode5NotEqualTo(String value) {
            addCriterion("CODE_5 <>", value, "code5");
            return (Criteria) this;
        }

        public Criteria andCode5GreaterThan(String value) {
            addCriterion("CODE_5 >", value, "code5");
            return (Criteria) this;
        }

        public Criteria andCode5GreaterThanOrEqualTo(String value) {
            addCriterion("CODE_5 >=", value, "code5");
            return (Criteria) this;
        }

        public Criteria andCode5LessThan(String value) {
            addCriterion("CODE_5 <", value, "code5");
            return (Criteria) this;
        }

        public Criteria andCode5LessThanOrEqualTo(String value) {
            addCriterion("CODE_5 <=", value, "code5");
            return (Criteria) this;
        }

        public Criteria andCode5Like(String value) {
            addCriterion("CODE_5 like", value, "code5");
            return (Criteria) this;
        }

        public Criteria andCode5NotLike(String value) {
            addCriterion("CODE_5 not like", value, "code5");
            return (Criteria) this;
        }

        public Criteria andCode5In(List<String> values) {
            addCriterion("CODE_5 in", values, "code5");
            return (Criteria) this;
        }

        public Criteria andCode5NotIn(List<String> values) {
            addCriterion("CODE_5 not in", values, "code5");
            return (Criteria) this;
        }

        public Criteria andCode5Between(String value1, String value2) {
            addCriterion("CODE_5 between", value1, value2, "code5");
            return (Criteria) this;
        }

        public Criteria andCode5NotBetween(String value1, String value2) {
            addCriterion("CODE_5 not between", value1, value2, "code5");
            return (Criteria) this;
        }

        public Criteria andCode6IsNull() {
            addCriterion("CODE_6 is null");
            return (Criteria) this;
        }

        public Criteria andCode6IsNotNull() {
            addCriterion("CODE_6 is not null");
            return (Criteria) this;
        }

        public Criteria andCode6EqualTo(String value) {
            addCriterion("CODE_6 =", value, "code6");
            return (Criteria) this;
        }

        public Criteria andCode6NotEqualTo(String value) {
            addCriterion("CODE_6 <>", value, "code6");
            return (Criteria) this;
        }

        public Criteria andCode6GreaterThan(String value) {
            addCriterion("CODE_6 >", value, "code6");
            return (Criteria) this;
        }

        public Criteria andCode6GreaterThanOrEqualTo(String value) {
            addCriterion("CODE_6 >=", value, "code6");
            return (Criteria) this;
        }

        public Criteria andCode6LessThan(String value) {
            addCriterion("CODE_6 <", value, "code6");
            return (Criteria) this;
        }

        public Criteria andCode6LessThanOrEqualTo(String value) {
            addCriterion("CODE_6 <=", value, "code6");
            return (Criteria) this;
        }

        public Criteria andCode6Like(String value) {
            addCriterion("CODE_6 like", value, "code6");
            return (Criteria) this;
        }

        public Criteria andCode6NotLike(String value) {
            addCriterion("CODE_6 not like", value, "code6");
            return (Criteria) this;
        }

        public Criteria andCode6In(List<String> values) {
            addCriterion("CODE_6 in", values, "code6");
            return (Criteria) this;
        }

        public Criteria andCode6NotIn(List<String> values) {
            addCriterion("CODE_6 not in", values, "code6");
            return (Criteria) this;
        }

        public Criteria andCode6Between(String value1, String value2) {
            addCriterion("CODE_6 between", value1, value2, "code6");
            return (Criteria) this;
        }

        public Criteria andCode6NotBetween(String value1, String value2) {
            addCriterion("CODE_6 not between", value1, value2, "code6");
            return (Criteria) this;
        }

        public Criteria andCode7IsNull() {
            addCriterion("CODE_7 is null");
            return (Criteria) this;
        }

        public Criteria andCode7IsNotNull() {
            addCriterion("CODE_7 is not null");
            return (Criteria) this;
        }

        public Criteria andCode7EqualTo(String value) {
            addCriterion("CODE_7 =", value, "code7");
            return (Criteria) this;
        }

        public Criteria andCode7NotEqualTo(String value) {
            addCriterion("CODE_7 <>", value, "code7");
            return (Criteria) this;
        }

        public Criteria andCode7GreaterThan(String value) {
            addCriterion("CODE_7 >", value, "code7");
            return (Criteria) this;
        }

        public Criteria andCode7GreaterThanOrEqualTo(String value) {
            addCriterion("CODE_7 >=", value, "code7");
            return (Criteria) this;
        }

        public Criteria andCode7LessThan(String value) {
            addCriterion("CODE_7 <", value, "code7");
            return (Criteria) this;
        }

        public Criteria andCode7LessThanOrEqualTo(String value) {
            addCriterion("CODE_7 <=", value, "code7");
            return (Criteria) this;
        }

        public Criteria andCode7Like(String value) {
            addCriterion("CODE_7 like", value, "code7");
            return (Criteria) this;
        }

        public Criteria andCode7NotLike(String value) {
            addCriterion("CODE_7 not like", value, "code7");
            return (Criteria) this;
        }

        public Criteria andCode7In(List<String> values) {
            addCriterion("CODE_7 in", values, "code7");
            return (Criteria) this;
        }

        public Criteria andCode7NotIn(List<String> values) {
            addCriterion("CODE_7 not in", values, "code7");
            return (Criteria) this;
        }

        public Criteria andCode7Between(String value1, String value2) {
            addCriterion("CODE_7 between", value1, value2, "code7");
            return (Criteria) this;
        }

        public Criteria andCode7NotBetween(String value1, String value2) {
            addCriterion("CODE_7 not between", value1, value2, "code7");
            return (Criteria) this;
        }

        public Criteria andCode8IsNull() {
            addCriterion("CODE_8 is null");
            return (Criteria) this;
        }

        public Criteria andCode8IsNotNull() {
            addCriterion("CODE_8 is not null");
            return (Criteria) this;
        }

        public Criteria andCode8EqualTo(String value) {
            addCriterion("CODE_8 =", value, "code8");
            return (Criteria) this;
        }

        public Criteria andCode8NotEqualTo(String value) {
            addCriterion("CODE_8 <>", value, "code8");
            return (Criteria) this;
        }

        public Criteria andCode8GreaterThan(String value) {
            addCriterion("CODE_8 >", value, "code8");
            return (Criteria) this;
        }

        public Criteria andCode8GreaterThanOrEqualTo(String value) {
            addCriterion("CODE_8 >=", value, "code8");
            return (Criteria) this;
        }

        public Criteria andCode8LessThan(String value) {
            addCriterion("CODE_8 <", value, "code8");
            return (Criteria) this;
        }

        public Criteria andCode8LessThanOrEqualTo(String value) {
            addCriterion("CODE_8 <=", value, "code8");
            return (Criteria) this;
        }

        public Criteria andCode8Like(String value) {
            addCriterion("CODE_8 like", value, "code8");
            return (Criteria) this;
        }

        public Criteria andCode8NotLike(String value) {
            addCriterion("CODE_8 not like", value, "code8");
            return (Criteria) this;
        }

        public Criteria andCode8In(List<String> values) {
            addCriterion("CODE_8 in", values, "code8");
            return (Criteria) this;
        }

        public Criteria andCode8NotIn(List<String> values) {
            addCriterion("CODE_8 not in", values, "code8");
            return (Criteria) this;
        }

        public Criteria andCode8Between(String value1, String value2) {
            addCriterion("CODE_8 between", value1, value2, "code8");
            return (Criteria) this;
        }

        public Criteria andCode8NotBetween(String value1, String value2) {
            addCriterion("CODE_8 not between", value1, value2, "code8");
            return (Criteria) this;
        }

        public Criteria andCode9IsNull() {
            addCriterion("CODE_9 is null");
            return (Criteria) this;
        }

        public Criteria andCode9IsNotNull() {
            addCriterion("CODE_9 is not null");
            return (Criteria) this;
        }

        public Criteria andCode9EqualTo(String value) {
            addCriterion("CODE_9 =", value, "code9");
            return (Criteria) this;
        }

        public Criteria andCode9NotEqualTo(String value) {
            addCriterion("CODE_9 <>", value, "code9");
            return (Criteria) this;
        }

        public Criteria andCode9GreaterThan(String value) {
            addCriterion("CODE_9 >", value, "code9");
            return (Criteria) this;
        }

        public Criteria andCode9GreaterThanOrEqualTo(String value) {
            addCriterion("CODE_9 >=", value, "code9");
            return (Criteria) this;
        }

        public Criteria andCode9LessThan(String value) {
            addCriterion("CODE_9 <", value, "code9");
            return (Criteria) this;
        }

        public Criteria andCode9LessThanOrEqualTo(String value) {
            addCriterion("CODE_9 <=", value, "code9");
            return (Criteria) this;
        }

        public Criteria andCode9Like(String value) {
            addCriterion("CODE_9 like", value, "code9");
            return (Criteria) this;
        }

        public Criteria andCode9NotLike(String value) {
            addCriterion("CODE_9 not like", value, "code9");
            return (Criteria) this;
        }

        public Criteria andCode9In(List<String> values) {
            addCriterion("CODE_9 in", values, "code9");
            return (Criteria) this;
        }

        public Criteria andCode9NotIn(List<String> values) {
            addCriterion("CODE_9 not in", values, "code9");
            return (Criteria) this;
        }

        public Criteria andCode9Between(String value1, String value2) {
            addCriterion("CODE_9 between", value1, value2, "code9");
            return (Criteria) this;
        }

        public Criteria andCode9NotBetween(String value1, String value2) {
            addCriterion("CODE_9 not between", value1, value2, "code9");
            return (Criteria) this;
        }
    }

    /**
     * STDOPSOPERATION_CLINIC
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    /**
     * STDOPSOPERATION_CLINIC 2020-06-10
     */
    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}